const express = require('express')
const app =express()

app.get('/home',(req,res)=>{
    const list =[
        {
            username:'鲁迅',
            age:14
        }
    ]
    res.send(list)
})
app.listen(4040,()=>{
    console.log('listening on 4040 ')
})